package com.woniu.day8.pojo;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 
* @TableName parking
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_parking")
public class Parking implements Serializable {

    /**
    * 车位id
    */
 @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
    * 车位号
    */

    private String numbers;
    /**
    * 车位使用状态
    */

    private Integer status;
    /**
    * 车位归属业主
    */
   /**
    * 车位归属业主ID
    */
   @TableField("owner_id")
   private Integer ownerId;

   @TableField(exist = false)
   private Owner owner;
    /**
    * 备注
    */

    private String description;

}
